using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QuanLiDiemCap2
{
    public partial class To : DevExpress.XtraEditors.XtraUserControl
    {
        ToBLL tobll = new ToBLL();
        public To()
        {
            InitializeComponent();
            nbgThem.Expanded = false;
            nbgSua.Expanded = false;
            Binding();
        }
        public void Binding()
        {
            BindingSource bs = new BindingSource();
            bs.DataSource = tobll.SelectDes();
            navFrmTo.BindingSource = bs;
            gcTo.DataSource = bs;
        }

    }
}
